package com.example.ymm.modules1.service.user;

import com.example.ymm.base.BaseService;
import com.example.ymm.model.TableList;
import com.example.ymm.model.YmPageDto;
import com.example.ymm.modules1.entity.my.user.DbReadLog;
import com.example.ymm.modules1.entity.my.user.DbUserNote;
import com.example.ymm.modules1.service.dto.DbReadLogQueryCriteria;

import java.util.List;

public interface DbReadLogService extends BaseService<DbReadLog> {


    TableList<DbReadLog> list(DbReadLogQueryCriteria criteria, YmPageDto ymPage);

    TableList<DbUserNote> getReadList(DbReadLogQueryCriteria criteria, YmPageDto ymPage);


    List<DbReadLog> queryAll(DbReadLogQueryCriteria criteria);

    void addReadLog(String bookId,String bookName);

}
